import logo from './logo.svg';
import './App.css';
import Login from './views/login/Login';
import Home from './views/main/Home';
import SimpleGraph from './views/login/SimpleGraph.tsx';
import SimpleJSGantt from './util/gantt/SimpleJSGantt.jsx';
import { Routes, Route, HashRouter } from "react-router-dom";


function App() {
  return (
    <HashRouter>
        <Routes >
          {/* 配置路由 ：主页和登录页 */}

          <Route path='/simpleGraph' element={<SimpleGraph />}></Route>
          <Route path='/' element={<SimpleJSGantt />}></Route>
          <Route path='/login' element={<Login />}></Route>
          <Route path='/home' element={<Home />}></Route>

        </Routes>
      </HashRouter>
  );
}

export default App;
